fixing bugs with tree growth and other bugs