Shorten path line.