So just a few weeks ago, i bought a beautiful 2005 outback xt 5 speed. this is the first turbo subaru that i have owned and so far, its been giving me some issues. when i bought it, it had low compression and failed a leakdown test on cylinder 3. this was discovered after the previous owner put all new subaru coils, injectors and ngk plugs in it. i pulled the engine out and had the valves and the seats ground for all the cylinders. my machinist told me that #3 exhaust valve seats took quite a bit to smooth out, that was the low compression. then i put the engine all back together and back in the car. for the first few days, it had the issue of surging and loosing power at moderate throttle below around 3K rpms. twice it threw a code for camshaft a being too advanced and misfires on 2 and 4. it hasnt thrown those codes in probable a week and a half now, yet it still has the same issue. i put a new set of intake manifold gaskets on the car and it actually made the problem worse. so i took some data logs and i cant seem to find anything super unusual. so if anyone could help me, that would be great.