uninitialized variable
metric counting is causing problems on 32bit systems.