Calfflac implementation; no, no dynamic programming at all