Fixed order of assigning z[d] to score