Revert "Set block size to 0 to avoid incorrect final size calculation"

This reverts commit b542d8f016eb95c36e21c6880e71905e6bc3f557.