Update pathsegment.cc