change default batchSize = 512