I assume your cam belt went while driving. If so you will have more than the pistons to worry about and could be quite expensive to get right. If you decide on a new engine don't consider going to one of those motor factors you see advertised. I knew someone who did this and because of bad workmanship he was unable to get to the end of the road.