On the vibration of nanorods restrained by a linear spring in-span