Fixed indices in X_n definition.