The algorithm described above stops the parsing process if there is no reduce label "r" in the current layer.
sometimes the fact is that the parser quits so early while the tree is not well formed yet at that point.