Some optimizations added additional info for edges