Add layer and community partitioning