change distribute to a::AbstractArray to get distributed BitArray