bugfix in parallel version of pmcmc