flat_tree
pub fn offset_with_depth(i: usize, depth: usize) -> usize
Returns the offset of a node with a depth.