fixe for buffered streams sizes

according to problem with double reading from input stream with big
buffer