fixed BinSearch 0->lo bug