add figure to tree construction