Implement a rangeset data type and use it to track items in log segments.