Update SimplifyPath.cc