Added int_max to sparse_utils