https://github.com/linksplatform/Collections/blob/56c3b06961257376d6f613229e8597c035a6c39e/BitString.cs#L128