Optimizing Basket flushing