multithreaded version of simul mif and pmcmc