fix compound-compound tree/tree collision on the host side (still need to implement it for all cases, and on GPU/OpenCL)