add basic csg for dda