Initial version of findEdgesPar