Shapes Matching with the Insets