Moved code for repeated binary search algorithm to new protected helper method.