auto split leveldb writes into batches (for optimizing write throughput)