Decomposing And Composing Shapes