revert 798b84de - changed use the minimum bufferSize