Change small_batch_debug_size if params.debug is on.