start tracing from apps calling primitives

this is most important to trace down-recursion
optimize arithmetic
allow the passing of --jit to tweak parameters