Degree of polymerization of glucan chains shapes the structure fluctuations and melting thermodynamics of a cellulose microfibril.