Title: Automatic generation of CSG representation for 2D objects