Note: This is a private function.
Add shared fields to distribution structures
Syntax
D = mxe_addsharedfields(D)