init seed for the random function used in random priority