Optimization beyond the Module Border