pub fn slice_nested_leaf(nested: &[Nested]) -> (usize, usize)
returns offset and length to slice the leaf values