rewrote cps transform via PyPy