Add ToArraySegment