actually use the optimizations, forgot to set current_color. Thanks to @msoucy for pointing that out.