adjust multipart chunk size for memory optimization