added some performance improvements to EdgeList