Specialized implementations of Interval/RangeSet for efficiency