moving macro definitions to code generator
codegenerating multi-D macros