pub fn pmmr_leaf_to_insertion_index(pos0: u64) -> Option<u64>
Returns the insertion index of the given leaf index