write batch sizes apply at runtime