begin local clustering