Update cost_of_tile.c