optimized m7d multiplication