removed constants from being stored in tree model

this prevents the same data being stored multiple times