Nonrandom community detection algorithm based on label propagation