Implemented adaptive coarsening of the tree