Localised curing of parts of the bonding area