Fixing maximums and minimums for sample 3