We selected the Ramachandran dihedral angles of the central residues to describe the structure of the polypeptides, as illustrated in Figure for alanine dipeptide. Additionally, we also used the distance between the N-terminal and C-terminal atoms (end-to-end distance) as a collective variable to characterize the penta-and decapeptides. Free energies were calculated using