fixed 2 bugs in advanced integer slicing of DistArray
allow user classes to customize scattering