Modularity aided consistent attributed graph clustering via coarsening