public static void hypothesizeUseless(GrammarEnvironment env, Grammar g) {
		UselessProductionRemover remover = new UselessProductionRemover();
		/*
		 * Grammar g2 = remover.getUselessProductionlessGrammar(g); if
		 * (g2.getProductions().length < g.getProductions().length) {
		 * UselessPane up = new UselessPane(env, g); env.add(up, "Useless
		 * Removal", new CriticalTag() {}); env.setActive(up); return; }
		 * hypothesizeChomsky(env, g);
		 */
		Grammar g2 = UselessProductionRemover
				.getUselessProductionlessGrammar(g);
		Production[] p1 = g.getProductions();
		Production[] p2 = g2.getProductions();
		if (p1.length > p2.length) {
			UselessPane up = new UselessPane(env, g);
			env.add(up, "Useless Removal", new CriticalTag() {
			});
			env.setActive(up);
			return;
		}
		hypothesizeChomsky(env, g);
	}