Fix computation in network blocks