changed arrays to vectors in PathFinder.as.