Inference of the CUB model: a MCMC approach