Moved num of tiles to constants in many places