Pool Flow Optimization