Recursive calculation of midpoints on both sides of centre marker