Comparison of line search minimization algorithms for exploring topography of multidimensional potential energy surfaces: Mg+Arn case