implement default-max-sample-count (of 1.0E4)