Define set_value for better precision.
The precision depends on the difference between the current resolution and the target value - the smaller the difference, he better the precision. Move twice to get the closet possible to the requested resolution