According to the law of conversion of mass, the mass of a closed system is neither made or taken away in a physical change. It is the same for a chemical change as well.
Therefore, the mass of the substance remains 8g.
Best of Luck!
9.4m questions
12.2m answers