binary search first commit