Fixed miscounting number of bytes for hierviews.