The constructive and geometrical optimization of the junctions in structures made from laminated composite materials