The effects of interface constraints on the deformation of pastes