Finish label loop kernel for ver 3. Use texture memory for label_total