Current version use the unweighted partition density for weighted graph. Probably we need weighted partition density for dense networks.