Ai performance tuning

shape