as this solitary wayfarer passed near the sun countless thousands of times , lighter substances were boiled and blasted from it , further purifying it , until what remained after billions of years was nearly pure iron , plus a small percentage of nickel and traces of other heavy , resilient elements .