Handle flattened regulation tree
typ -> node_type