autoresize
batch size is now a hint, resizes automatically