update pathfinding to iterative, greatly loosen termination bounds