Added first bits of code: create optimal 2D rings and tubes (< 1mm width is ok).