Generate states dynamically and append them to the state tree, without defining them somewhere beforehand.