MontzA's optimizations