add function of clusting add fix the bug of distance