Feature Clustering

Based on the same quad trees for points except using centroids for
features. Probably change it to bounding box later.