map() is used in 2D intervals