Fuel injectors, maybe? ECU?
On my BMW first fuel injector didn't fire because of bad computer! Engine ran very rough!
You have to target why you have no power in those cylinders if compression OK!
Fuel or sparks! You have spark, but is the firing order correct?? Mixed spark plug wires, bad distributor cap , bad hall sensor etc...