prevented blocking the path
added traversability factor to dijkstra