Update *simplifyPath.cpp