sim with strata and range