Restrict scale in averaging values.