build comment tree