Add under sampling detection to sampler