If you think the discussion should be at 5 for 40 with Tristan than you head is firmly planted in the sands of 2012.
Are you really serious?
The cap only rose from about 9 million in 8 years from 2006 on. Including three straight years stuck at 58 million
Your concept of player worth is based on that slow cap growth era, not the era we are in now where the cap is moving from 63 million last year to 108 million in 2017-2018.
There are plenty of ways to make an intelligent case for what you see as the worth and value of what Tristan has already done and where he can grow to, but including an opinion that you think his worth is 5 years, 40 million is either naivety or ignorance of how the NBA works and where the financial landscape now is.