Improving compilation tool internal organization