Tag Results pathfinding algorithm