pub fn follow(traces: &[LineSegment]) -> Vec<Line>