fn minimize_paths(paths: &mut Vec<Path>)