private static int findByte(int numTry) {
		int max = possibleKeys.get(0).getKey(), min = possibleKeys.get(0)
				.getKey(), index = 0;

		for (int i = 0; i < possibleKeys.size(); i++) {
			if (possibleKeys.get(i).getKey() > max) {
				max = possibleKeys.get(i).getKey();
			}
			if (possibleKeys.get(i).getKey() < min) {
				min = possibleKeys.get(i).getKey();
			}
		}
		
		int[] countArray = new int[max - min + 1];
		for (int i = 0; i < countArray.length; i++) {
			countArray[i] = 0;
		}
		
		for (int i = 0; i < possibleKeys.size(); i++) {
			if (possibleKeys.get(i).getType() == 1) {
				countArray[possibleKeys.get(i).getKey() - min] = countArray[possibleKeys
						.get(i).getKey() - min] + 14;
			} else {
				countArray[possibleKeys.get(i).getKey() - min] = countArray[possibleKeys
						.get(i).getKey() - min] + 5;
			}
		}
		
		while (numTry > 0) {
			max = countArray[0];
			index = 0;
			for (int i = 0; i < countArray.length; i++) {
				if (countArray[i] > max) {
					max = countArray[i];
					index = i;
				}
			}
			
			countArray[index] = 0;
			numTry--;
		}

		return index + min;
	}