3D milling demo: fix half pixel problem in toolpath computing