Shortening path.