Extend the code range to use RangeCollector structure.