Modified label_propagation for graphlab : list of max labels