Removed unecessary intermediate global load/stores