edge case bug fix where block bytes is 0