Deformation of square objects and boudins