1. A method for constructing a hierarchy of optically independent structures for use in optical proximity correction of a circuit, comprising: receiving an integrated circuit design, the design including geometric circuit elements for providing circuit functions of an integrated circuit; exploding at least a portion of the integrated circuit design; gathering geometric circuit elements of the exploded integrated circuit design into optically independent classes; and searching for congruency for each optically independent class.