Bugfix: fixed parallel compilation error in statistics calculation