some changes that i need for var size pathfinding