Update the deformation code to align with changes in flint2
for the padics.