Modified TreeGenerator.groovy to not break when we give it a
constantChance of 0.