Self-Aggregation Algorithms for Autonomic Systems