inserted "levels" to improve game-tree-search