better jit function mapping