Clustering algorithm: reduce memory footprint by removing separate cluster grid storage