Size-dependent elastic properties of nanosized structural elements