Bug in multithreading
run valgrind with --tool=drd