Slice Contour Modification In Additive Manufacturing For Minimizing Part Errors