A Bootstrap-based Method to Achieve Optimality in Estimating the Extreme-value Index