Min elem in sorted arr