smallest in a cyclically sorted array