Shape Adaptation for 3D Hairstyle Retargeting