remove bug with got recycling and game restart. started to optimize pathfinding with array instead of set