Matching Components and Patterns for Shoe Lasts