Network Partitioning In Distributed Agent-Based Models