split out samplingMode into parameterSamplingMode and comppartmentSamplingMode