Added tile cost program