Expose a major mistake in the edge construction, vertices labeled wrong
Fix the mistake in vertex formula, also making edge construction faster