made csg sort of compatible with multiphase solids
improved behavior for multimaterials