Add improvement on choose allowable split.However, I found my algorithm may have some mistakes.