production of formats and bags of different sizes