Fix buffer sizes when maxChunkLength is not set.