Correctly calculates relative block size.

Minor fixes.