where N is the number of MD steps per move, M is the number of NCMC steps per move, n is the number of proposed NCMC moves, and K is the number of additional MD steps added for iterations where a rotamer is in a state outside of the target states (see yellow path in Figure ). For classical MD, the calculation is much simpler: