Efficient modeling in shape optimal design