Parametric CAD modelling for shape optimization