public static Address getMaxAddress(AddressSpace addrSpace, long namespaceID) {
		if (addrSpace.isStackSpace()) {
			return new OldGenericNamespaceAddress(addrSpace, -1, namespaceID);
		}
		return new OldGenericNamespaceAddress(addrSpace, addrSpace.getMaxAddress().getOffset(), namespaceID);
	}
Returns maximum namespace address within the specified address space for upgrade iterators.
For a signed stack space, the negative region is treated as positive for the purpose of 
identifying the maximum address key encoding.
@param addrSpace address space
@param namespaceID
@return maximum address
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/OldGenericNamespaceAddress.java