If the types of transformations were chosen based on the distinct shape, a search for shape q may result in an incorrect set of matches.
The types of transformations for the coarse matching are derived from the curved line shape.