one related to UnionFind optimization, the other to broadphase optimizations. Should do better unittesting next time!