Seems to work sensibly now with intersecting two cuboids. Three is still broken (and I think I know why).