Debugging clustering