The 4M40 is an engine I wouldn't put in anything, the one I drove in a challenger drank a lot more than my 4BD1T rangie. It was using about 12 litres/100km. On the same trip we monitored it on my rangie would use 10 litres/100km. On the mitsubishis side, it was auto and my rangie manual.
Indirect injection is the main problem with them.
The 4M41 I believe is electronic control, this side of the swap alone could cost you big dollars and make or break the reliability.

