Hey guys, did a search but didn't find the answers I am after.

I have a GSi teg and am considering rebuilding the engine. The motor has hit 150 k and it just doesn't feel right any more. I was just wondering how much an engine rebuild would cost? Am on a mega budget so I am not sure an engine transplant would be in order. Any help greatly appreciated, oh I believe the motor is the B18B1? or is it B2, can never remember :P