micro optimizations for surfaces