1: \begin{abstract}
2: Basis sets of atomic orbitals are very efficient for density functional
3: calculations but lack a systematic variational convergence.
4: We present a variational method to optimize numerical atomic orbitals
5: using a single parameter to control their range.
6: The efficiency of the basis generation scheme is tested and compared with
7: other schemes for multiple $\zeta$ basis sets.
8: The scheme shows to be comparable in quality to other widely used schemes
9: albeit offering better performance for linear-scaling computations.
10: \end{abstract}
11: