Determination of accuracy contour and optimization of workpiece positioning for robot milling