use start number when calculating stream end