optimizing multi-stops