rebuild with new parts. use correct engine oil grade, manage maintenance interval at 7000 km for oil & filter changes., engine will cross 300000+ kms without problem.
engine at scrapyards are there for a reason, with unknown history and unknown variant of vehicle it has been taken down from. Swapping of engine require legal endorsement over registration book as well.