add missing synchronized block around localAccums