doCollision works for 4*4*4 domain