Status of the construction of the CMS magnet