applied rapid pagination to doc streams