More micro-optimizations
scope drawing optimization using linear slopes