Recoded ConnectionPathfinder