For constituent parsing, we initially compare partial outputs that have been built using the same number of actions.
because different output parse trees can contain a different number of unary-reduce actions, some candidate outputs will be completed earlier than others.