Reworking of xrefs for each chunk.