Change "subj" to "subj[i]" in for cycles.