In this article the algorithm of the optimization of results of the curriculum of dictionary algorithm of the LZ77 is offered due to minimization of displacements for the improvement of the compression of the data. As experiments show, the realization of this heuristic algorithm allows, for example, to approach on 15% the coefficients the compression of quick curricula of files of representing of the set of the ACT in the format of the PNG to the almost optimum time-table which indicate on its efficiency.