fixed issues with computing the size of the binary data