Significance of the conformation of building blocks in curing of barnacle underwater adhesive