Uses the circles' center as reference points; sorts the edges; extracts the main content