optimizing texture yet again...