moved root overflow handling to new method.