update traversal and tree container based on if constexpr feature

Merge request reports

Loading