Fully remove the 'end' as an idea from path segmentation.