Initially, compile routines without optimizations and re-jit (w/ optimizations) after the tenth invocation