Optimized bounds calculation of strokes, started work on optimizing stroke draws