Add BST check.