Function based rank thresholds instead of lookup in threshold vector