support for randomly sharded parallelism