Add neighbors to each node on server side rather than client.