[ymeng] Implement binary search - find previous item