find a item using median search method