add support for reading a segment of a row