Switch RangeMin to using a linked list of levels