idx_start/end are actually in trip not in array of trips