working parallel tempering