Transformation of European trading towns