fix: missing return value
added asserts, offsets at the end
ipr add_overlap