This is a private function only used in this file. So it should be _binaryRangeSearch.