Shorten paths.