Bug fix.
Switch to resizing at a coarser granularity.
Instrument individual passes to isolate where time is going.