add fin minimum in rotated array