Ground state deformations in the rare-earth nuclei