Adding 'static-thresh' option.