Expression optimization v3