private Match getBestMatch()
	{
		Set<Match> keys = table.keySet();
		Iterator<Match> iter = keys.iterator();
		Match biggest = null;
		Match other = null;
		while ( iter.hasNext() )
		{
			Match m = iter.next();
			if ( m.freq == 1 && (biggest==null||m.length>biggest.length) )
				biggest = m;
			else if ( m.freq > 1 && (other==null||m.length>other.length) )  
				other = m;
		}
		//if ( biggest != null && version == 6 )
		//	System.out.println("transposed="+transposed+" biggest="+biggest);
		return biggest;
	}