using only one list for pathfinding and some behaviors