Process planning for adaptive contour parallel toolpath in additive manufacturing with variable bead width