The effect of oxygen, nitrogen, and hydrogen on iodide refined titanium