simplify deleteOtherPaths()
finish renaming paths to segments