Faster ROC implementation (besd on histogram)