finish MCMC.