make python random seed invariant in each round