began to incorporate weighted edge class