std::uniform_int_distribution may behave differently in different systems.
See https://mlir.llvm.org/ for more information.