Welcome to Max.
If the motor was recently rebuilt before 170,000KM, I would have to question that. Was it over revved? I seriously hope it wasn't do to engine fatigue at only 170K.
With the rebuilt title, and engine rebuild (at only 170K), I would probably not get this car.
It might be a different story if you have full documentation on the rebuilt title (after accident, and pictures), and the how the engine was rebuilt.