Shift the tiles around to make all the edges match, including wrapping around the sides.