fix bitonic search bug