Fixed internal ring issue, changed to incremental addition of
containment areas and subsequent dissolve.  Temporarily adding writing
cost output.