Use custom thresholding.