Remodelling hollow bodies with respect to the shape of the cross-section