C# global deformation and local deformation