Trees with small spectral gap