Shape optimization of continua using NURBS as basis functions