When does the pathfinder execution stop?  What determines this?