Fixed the bug for the case where left son is the smallest but that son has a right tree