machine for flanged paper box