Fix winning algo.