* renamed var
* reduce scope
* improved rerouting for stacked tiles (city2 -40%, mansion_huge -10%