there should be always at least 1 child entity

also having the random.nextInt()  outside the for loop should lead to a better distribution of no. of child entities.