build dehaze tree