private void computeRanges() throws ProgramConflictException {
		ProgramMemoryComparator memComp = new ProgramMemoryComparator(program1, program2);
		ArrayList<AddressRange> rangeList = new ArrayList<AddressRange>();
		AddressRangeIterator rangeIter = memComp.getAddressRanges();
		while (rangeIter.hasNext()) {
			rangeList.add(rangeIter.next());
		}
		ranges = rangeList.toArray(new AddressRange[rangeList.size()]);
	}
Determines the address ranges that the two programs memories must be broken into for 
properly comparing the programs. Each of these address ranges will exist in the first
program, the second program or both programs.
@throws ProgramConflictException if the two programs can't be compared.
Ghidra/Features/Base/src/main/java/ghidra/program/util/MemoryDiff.java