set appropriate KE threshold