faster version of MCMC