Importance of polypeptide chain length for the correct local folding of a β-sheet protein.