Joining Brep-Tiles via Connectivity

Hello
it is quite exactly what I am doing, if I remember well. The only problem is that you have no 1x1 tile. So by doing things randomly you could have some problems. It is doable by programmation. I have some C# example on this forum