Enabled LTO, optimizations, replaced NS_BLOCK_ASSERTIONS flag with the new ENABLE_NS_ASSERTIONS option. Using size_t instead of unsigned int in a few loops to allow automatic vectorization to happen.