P: still problems with corrected function acf_n