check sample size when scrm is directly called