eliminating some waypoints