Near-Earth magnetotail shape and size as determined from the magnetopause flaring angle