Latency optimization

shape