What about a spacer like one of these, will they work on an M3/4? I had the 45* angled one in my S4 and it worked with long tube headers (I know different platform but same principle) or extend rear O2's a little further.
https://redstarexhaustusa.com/74-o2-spacers-restrictors