rename normalize_charges to migrate
separate normalize into its own function