Minimizing thermodynamic length to select intermediate states for free-energy calculations and replica-exchange simulations | Synapse