fixed max sample size