make trip 0 to have start/end period containing all waypoints