The rate of convergence in distribution of the maxima