fn determine_tree_index( dbc: &DbcData, node: &TraitNodeRow, group_to_tree_index: &IntMap<i32, i32>, ) -> i32