multithreaded MCMC