Expand the directory-tracking pre-coding logic