Combining And Splitting 2d Shapes