During First operation tap was broken in the part|Part was re-tapped before second operation ,During referencing of second operation B axis was not made zero.|B-Axis home position reference  was not done appropriately. Thus the tilt angle in the B-axis has affected the part flatness and chamfer.