Use Range class that memoizes