A patient has developed a pulmonary embolism. which measurement is essential when ordering an antiembolism stocking size for the patient?