Moved texture scaling to separate file
Parallelized texture scaling