consider replacing randint by a self written prng(e.g. lfsr)
consider replacing randint by a self written prng(e.g. lfsr)