Improved stress test by adding code, which avoids -O2 optimization of gcc compiler