A laboratory technician needs to prepare 500 milliliters of a 2 M solution of sodium hydroxide (NaOH) in a flask. The flask has a volume of exactly 500 milliliters. Which quantity does the laboratory technician need to measure before making the solution?