update GameB.solver() for better performance