whats the going price for one brand new
https://en.wikipedia.org/wiki/BMW_S38
https://en.wikipedia.org/wiki/BMW_S38
I did some research about these engines before rejecting them. I have owned E34 M5's with the 3.6 and 3.8 engines so know the fun they can be. My research indicated that the 3.8 is more highly stressed than the 3.6 and can cause more problems. The received wisdom seems to be the 3.6 is the one to go for.
At some point I might consider fitting one but opted for an Alpina B10 engine for now. One reason was the economics whereby I found a complete car which had an engine rebuild but this was hidden value as it was in a very crusty old car which had done 300,000 miles.
If I found a similar situation with an E34 M5 then I might be tempted.