optimized draw function by removing tons of useless allocs
- there are some more to be found