clustering debug