Approaches to accommodate remeshing in shape optimization