Optimizes multithreading

- Optimizes rendering of chunks