sampling client clustering