running in circles with the midpoint-algorithm