Active stress as a local regulator of global size in morphogenesis