Tweak to get alpha-beta pruning working properly