Add fix_charge() function to assign charge correctly in the product
atoms.