adjustable sample size