Tweaked a few things, breaked iterations for performance.