connects all tiles as it should