made the stats thread safe with atomics to prepare the work for multi-threaded iso surface extraction
finished first simple multi-threaded implementation of DC