Configuration-dependent deformations in 171Re