Removed delete from pathfinding algorithm.