Fix erroneous calculation of fragment size when sending individual fragments