Threshold check.