Quantum size effect and perspectives of its practical application