- eliminated "while True" loop, added exception for piece size smaller than 16 KiB