Fast Shape Matching Using a Hybrid Model