   {
     float4 seed = labelsSeed[index];
     const uint cindex = int(seed.y) + int(seed.z) * imageSize;
-    std::cout << "map[" << index << "]: " << int(seed.x)
-              << " extractedIndices.size: " << extractedIndices.size()
-              << std::endl;
 
     if (extractedIndices.find(cindex) != extractedIndices.end())
     {
-      std::cout << "update index:" << index << " labelId: " << int(seed.x)
-                << " index " << cindex << std::endl;
       if (seed.x > 0)
       {
         seed.x = -seed.x;
         labelsSeed[index] = seed;
       }
     }
-    std::cout << "new seed: " << seed.x << "|" << seed.y << "|" << seed.z
-              << std::endl;
   }
 
   seedBuffer = labelsSeed;

    {
      if (extractedIndices.insert(uniqueIndex).second)
      {
        std::cout << "Extracted index: " << uniqueIndex << std::endl;
        insertionOrder.push_front(pixelIndexToLabelId[uniqueIndex]);
      }
    }

                                labelPosition.z(), labelPosition.w());
    int index = static_cast<int>(labelPosition.y()) +
                static_cast<int>(labelPosition.z()) * imageSize;
    pixelIndexToLabelId[index] = labelPosition.x();
  }

