fix C_i position in equation 12