topology: fix the calculation of the new size when TARGET_SIZE is set to 0
topology: fix the calculation of the new size when TARGET_SIZE is set to 0

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