replace std::uniform_int_distribution with custom implementation