fix multipart 3d geometry