I will add a check in the generateSplit method, but can also but a non-negative check here