Implementing MCMC with PSV for simulations