Using the Surface Edges to Smoothen the Toolpath