connect the elements with same diameters