[FOLD] Levelize ledger index calculations