Calculate lefts/rights as ranges.