Wouldn't it make more sense to have it return a SharedArray of the same element type and dimensions with the index chunks for the pids aligned?