properly set chunkUploadSize