Map some values from one range to another.