what is cheaper?

What is the average cost for rebuild, im still researching what internals would be best. Or just buying another b18 block and doing some head work.