Collect all pickups while passing on the street for the first time

Duplication of How to make the algorithm always choose first the nearest services