Svag matchende rim for tree structure