calfflac: bug--cal_len cannot produce the right count