Update UniquePaths.cc