Which Shapes Belong Together?