Add more commentary. Check that *num is smaller than the block size.