Why data.resize changes amount of minibatches from 190 to 3800

Hi *,

I wonder why resize changes number of minibatches? Without resize() i have 190 minibatches:

However after resize I got 3800:

Any explanations?