That is the M40 for the 318I, and the M42 for the 1991 BMW 318is. In order to do that swap you would be dealing with a complete wiring and computer replacement, The engine itself, and possibly some other pieces and parts. The M42 and M40 engines runn off a Motronic system, while yours is runn off of a Jetronic. If I was gonna spend the time and money I would just do an M20 or possibly a M50/52. The only problem with that is redoing the suspension in the front to deal with the heavier engine.