I think checking for every index where  `nnz(i) == 0` is better. I just set those max/min value to 0.0.