so u had a full 330i parts car?
u should switched over the pedals + harness and kept the 330i TB.
Most importantly the intake manifold/injectors on the m54 its much much bigger than the one on the m52. the motor will breath much better (more pwr) if it has the m54 manifolds.
Also done forget to switch over those 330 Brakes.