Figure 6: (a) With depth=3, seven ranges are produced for this query; (b) same query as (a), but with depth=2. This causes queryRanges to lump four small cells into one large cell. As a result, there are only three ranges.
Copyright © 1999, Dr. Dobb's Journal