Localised curing of parts of the layer connector