A Monte Carlo method for an objective Bayesian procedure