fix a bug involving calculation of span w/r/t/ includeZero