[tree] closes #814