pub(crate) fn compute_claim_uds<Balance: AtLeast32BitUnsigned>(
    current_ud_index: UdIndex,
    first_ud_index: UdIndex,
    past_reevals: impl DoubleEndedIterator<Item = (UdIndex, Balance)>
) -> (UdIndex, Balance)