training mode: BST search ok