Move binary search to spike