Reduced the amount of (useless) items in a tree