fixed averaging for both 1d and 3d