Combined shape and size optimization of an offshore crane