retiming the load_ctxt logic in memreadengine