Collapsed Gibbs sampler completed