[Pathfinding] Added extra function findNextPosition() and other things get world size from Position.