change threshold of deciding stuck