Deal with circular structures