replaced incorrect use of MIN_VALUE (smallest value above 0) with -MAX_VALUE (negative max val is the lowest value assignable to a Number)