Lightened the smtree module