check sample size when scrm is directly called
Merge branch 'jz' of https://github.com/paulstaab/scrm into jz
Merge branch 'jz' of https://github.com/paulstaab/scrm into jz