topology: fix some size parameters in the update algorithm
topology: fix some size parameters in the update algorithm

davidek/peerstreamer-Streamers,davidek/peerstreamer-Streamers,cskiraly/Streamers,cskiraly/Streamers