changed minmax to use negaScout