Build all tree elements