nested loop test, set private(i) is important for multi loops