discard tree structures