Design of bending machine