init clustering