Round the end angle and start angle, see #263