[JIT] Towards a working small memory model.