Add new dic in finish algorithm
Add new alg logisition regression