coordinates from midway on the optimization