set $dominant_symbol on non-leaf nodes