Optimize to single expression