optimizations are working, though it slows down other things by a lot, why? Still figuring that out.