function that create the vectors in G_j and return their norm