I have optimized the hell out of my for loops, so I'm assuming it has something to do with the way I am constructing my graph. Any tips on optimizations? Please? PLEASE?!