fixed random seed in mainMCMC by adding the repitition number (default parameter mismatch)