Decomposing array element ops