better function naame to get envelope max and basic size