lasy waypoint is i - 1 (detect_trips)