Without knowing which model you have makes it difficult but I notice that on my 525iA there are a number of grounding connections between different parts of the engine and chassis. Is it possible that you may have not connected all your different gound straps?
Hope this helps,
Geoff