rewrite TranslocDedup so it uses less memory on many cores