Restructuration of tree