Create waypoint limit macro