Added toggle between large sample size and small sample size.