refining toolpaths for more efficient cutting