A scalable parallel 2D wavelet transform algorithm