more changes to nested loop order for U_ILOC and U_JLOC