fixed problems in binary search for draw