Moved 2 uniform from loop function to init