updated cfr algorithm