Actually the exact allocation size for large objects isn't stored anywhere, but you can simply account for every page used. So this becomes `if (bin != B_FREE)`.