"gatherGlobalVector" sounds better for me as a name of this function. how do you think?