added iterations of community detection at every step