@genaray Why do you think a single 1000-iterations loop will cause problems? You are not going to find paths for your mobs every frame, are you? You can shedule mob pathfinding in a way that they do it not so often when the player is far away, and just wander around aimlessly, and when the player is nearby, your pathfinding will not be that expensive