building edge list for Circle