Rewrote backfill chunk processing logic.