Replacing IntegralBitSet with RangeSet

It's more appropriate for our use case