Fixed issue with remainders in network distribution