opt: made memory latency improvements