This project is part of the FRONTS project. The FRONTS project is a joint effort of eleven academic and research institutes in foundational algorithmic research in Europe. The aim of the project is to provide a unifying scientific framework and a coherent set of design rules, for global systems resulting from the integration of autonomous interacting entities, dynamic multi-agent environments and ad-hoc mobile networks. The purpose of this project is to develop programs for coordinating the actions of sensors. Previous projects resulted in partition of the sensors into cluster while the task of this project is to construct hierarchy of partitions using randomization tools. Then use the constructed hierarchy for implementing communication primitives among the sensors.