Tile rearrangement