Had to rewrite the way we removed empty productions, was to slow