Added batch-sliced dot product for clusters.