build GibbsSampling images