adaptions to label propagation implementation