change globalSampling argument in samplingProbs.R