partial coupling network. (rand() is too slow, may need an alternative)