blocked gibbs sampler.