fixed mismatch between size/getindex of ChunkedDist