Map arbitrary series of non-overlapping integer intervals on one range to another...