fixed random seed and the dimension as input