private long doDeleteSplit(Object obj, long start, long next, long end) {
        Mark existMark = getMark(start);
        if (next > end) {
            markStart(end+1, existMark.obj);
            existMark.remove(obj);
            if (existMark.isEmpty()) {
                objMarkers.remove(start);
            }
            else {
                markEnd(end, existMark.obj);
            }
            return end;
        }
        existMark.remove(obj);
        if (existMark.isEmpty()) {
            objMarkers.remove(start);
            objMarkers.remove(next);
        } else {
            Mark endMark = getMark(next);
            endMark.remove(obj);
        }
        return next;
    }
Adds a range to a object.
Assumes that the range has already been cleared.

@param range the range being added.
@param objID the id of the object the range is being
added to.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressObjectMap.java