Removed INFINITY and changed to INT_MAX