for other values make a g1 and a g2 that are half the size and then we make login connections between g1 and g2 by picking a random point and connecting it with a random node, another random node and connecting it with a random node et cetera and then return.