Finished bsearch