Spatial Clustering of Structured Objects