3D milling demo: try to keep the pixel count constant