add extra cost for turns in A* to avoid staircase