findPaths too inefficient