Pathfinding iterations corrected, changed struct of Pathfinding calling method