more compact implementation of NegaScout