actually added to the segment (possibly smaller than the requested size if boundary crossings had to be avoided).