Build Tree