add singlelinkage model