have a look at MSD if up north and TALK to them.
try DMS automotive if down south!
the BMW straight 6 diesel engine can destroy its manual gearbox if fully unleashed! so the map has to take this into account. 560NM of torque can be got:
M57TUD30 2,993 cc
204 PS (150 kW; 201 hp)@4000, 410 N·m @1500-3250 4750 max rpm year 2003
218 PS (160 kW; 215 hp)@4000, 500 N·m @2000-2750 4750 max rpm year 2002
272 PS (200 kW; 268 hp)@4000, 560 N·m @2000-2250 5000 max rpm year 2004