started working on CPS conversion, very naive algorithm based on the Utah cps paper