Sped up tag size computation