private String getValueWithHighestCount(HashMap<String, Integer> fillValuesHash) {

		// Determine val with highest count
		Iterator<Integer> valIterator = fillValuesHash.values().iterator();
		int max = valIterator.next();
		while (valIterator.hasNext()) {
			int nextVal = valIterator.next();
			if (nextVal > max) {
				max = nextVal;
			}
		}

		// Determine key corresponding to max val
		Iterator<String> keyIterator = fillValuesHash.keySet().iterator();
		while (keyIterator.hasNext()) {
			String nextKey = keyIterator.next();
			if (fillValuesHash.get(nextKey).compareTo(max) == 0) {
				return nextKey;
			}
		}

		// Should theoretically never reach here
		return null;
	}
This function tries to determine the fill value used by the current program.
The byte value occurring most is the winner.

@return filler
@throws Exception
Ghidra/Features/Base/ghidra_scripts/CondenseFillerBytes.java