private AddressRange extractChunkFromStart() {
		Address start = remainingRange.getMinAddress();
		Address end = start.add(splitSize - 1);
		remainingRange = new AddressRangeImpl(end.next(), remainingRange.getMaxAddress());
		return new AddressRangeImpl(start, end);
	}
Constructor
@param range the address range to split apart
@param splitSize the max size of each sub range
@param forward if true, the sub ranges will be returned in address order; otherwise they
will be returned in reverse address order.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressRangeSplitter.java