Increment indices rather than re-calculate for max_pooling.