build comp tree for deeper topic hierarchy