added scattering of sparse vector