Depth sensitive tree structure