FIX:INT_MAX change to MYINTMAX