Add some LiquidSmooth optimizations