The heads and cams might be worth some money. If you want to put something into it to recover, take the heads off and clean them up some.
Part of the problem with your motor IS the fact that it failed after a rebuild. The short term failure makes the rest of the unit suspect.
Bosch Master, ASE Master, L1
33 years MB technician