3D milling demo: try to keep the pixel count constant (a bit more constant)