updated tree sizes