changing the sampling factor