progress on Bayesian quantization