Distributed Computation in Small Networks