fn generalized_trim_back( results: Results, roads: BTreeMap<OriginalRoad, InputRoad>, input_road_lines: &[RoadLine]) -> Result<Results>