adds support for specifiying batch size for each grid
Merge remote-tracking branch 'hired/upstream'
Rework batch_size with class_attribute