what you get is an affine function, but rounded to lower closest integer
so if you zoom, you can see the steps