Add stackstress function.