Adaptive grid using spectral graph wavelet