edited gibbs inference