Shorten some paths