Reduce chunksize to fix aes call stack exceeded error.