D5-Binary search