Reduce tree program size.