Engineering magnetic performance: the critical role of vacuum furnaces in rare-earth permanent magnets manufacturing