tpemSample takes max cutoff from input now