docs: def max_sparse_hyperplane_size(tree):
      """Determine the most number on non zeros in a hyperplane entry"""
      if tree.is_leaf:
          return 0
      else:
          return max(
              tree.hyperplane.shape[1],
              max_sparse_hyperplane_size(tree.left_child),
              max_sparse_hyperplane_size(tree.right_child),
          )