Dynamic Iterative Method for Fast Network Partitioning