Liquid magnesium is poured into a 2 cm × 2 cm × 24 cm mold and, as a result of directional solidification, all of the solidification shrinkage occurs along the length of the casting. Determine the length of the casting immediately after solidification is completed.