Longer duration of diabetes is associated with brain volume loss , particularly in the gray matter , possibly reflecting direct neurologic insult ; biochemical measures of glycemia were less consistently related to MR imaging changes .