Source To Source Optimizing Transformations: Fast-J As Case Study For Global Chemistry Codes