Multiple speed optimizations and performance improvements