Fix recursive split bug
Change to a get_pred function
Working delete/get_pred