Added optimized main-memory section.