Multigrid-based deformation