NextRange gets start byte. fixing endByte -> end.