Builds a more robust internal representation of tiles.