just rebuilt runs bad

Is the system well grounded? My 340 is real picky and absolutely requires a very good ground. After that it likes 36 degrees of total advance, you do not mention mechanical versus vacume advance. If it runs it is not 180 out, and with the compression you indicated it sounds like the valve train is operating properly. I would look electrical based on symptoms you have indicated.