Smart cylinder streamlines bagging machine