improve recursive tree symbol