stack access to instance max variable