The second stage compares the two edge files for each shared grid boundary, and generates an equivalence file. The equivalence file maps between the nets that abut at grid boundaries. Once the edge files have been processed, the edge files are deleted.