Add extra loop for jit optimization