Introduced an energy cutoff in the Metropolis Hastings acceptance probability for flat energy sampling