adding in size of type calculations