BRICS nations agree to expand the group