Start implementing new segment-based path generation.