We use it to do a linear search of a binary tree, which is overkill. Replace it with a simple binary search.