aligner: cache dynprogtbls for speed