Homogenization of primary microsegregation