Cache lengths in corrector.  This speeds up the corrector a little.