Changing position of output to improve search for segfault