rollback to maxBatch, that depend on number of CPUs