Local Design of Macromodules