Three-side sealing bag making machines