Hello,
I see that nobody has a solution.
To help those that could be relevant here is what my research has enabled to find,
There are two types of engine M51, those originally fitted in the range are first generation, a more reliable engine was put into service from 1996 on the BMW 525...