maxSpan = Math.max(
gridEnvelope.getSpan(d),
maxSpan);
}
final HierarchicalNumericIndexStrategy imagePyramid = (HierarchicalNumericIndexStrategy) index.getIndexStrategy();
final TreeMap<Double, SubStrategy> substrategyMap = new TreeMap<Double, SubStrategy>();
for (final SubStrategy pyramidLevel : imagePyramid.getSubStrategies()) {
final double[] idRangePerDimension = pyramidLevel.getIndexStrategy().getHighestPrecisionIdRangePerDimension();
// to create a pyramid, ingest into each substrategy that is
// lower resolution than the sample set in at least one
// dimension and the one substrategy that is at least the same
// resolution or higher resolution to retain the original