added max sample size for drawing bootstraps