Merge @cut and @paste into single @transfer function. Inline small functions that are only called once. Generate callgraph.