added edge reversal in construction