fixed deadlock with replica exchange and -maxh