prepending 0's to ledger indeces