Hello

i have a e39 525tds as a project car and i was wondering how hard it would be to swap an M54b25 instead of the M51b25.
Im mostly worried about the wiring job, Anyone have any tips?