fix sample size