Interface for calculating block width / height.