If the engine is at its end, I will suggest you go for an engine swap. Rebuild won't really be successful as mechanics often fail to reset the engine to it's original setting and will say "sir, mamooli ji setting reh jaati hai, company thori na bana rahi hai engine".