Binary search now can work with non power-of-to arrays