flux optimizations