Optimized screen printing code [fewer lines of code + fewer loops]