Corrected logic of tiles_cost.py