Optimized the edges so that we can give void to ther data. This should give us around 10% faster time