Enable louvain calculation with weight