Also, it should be factored into it's own funciton, which is marked as `@jit.elidable`