getting the size is only if name or hash are changed