fix output bug for code=11, added debugging to fix issue with nested circle geometry (not rooted out yet)