Fixed pre_batch_size variable.