Add util function to map a value from one range to a corresponding range