A SAMP reconstruction algorithm based on Haar wavelet tree