assign bending angle as bit value