Made splits only possible if both children have enough observations to be split, and fixed the splitting