renaming node_group_size to group_size