Revised utility.estimate_range to exploit sparsity.