Context. Neutron stars in low-mass binary systems are subject to accretion when material originating from the companion star accumulates on the surface. In most cases, the justified and common assumption in studying the properties of the neutron star crust is the fully accreted crust approximation. However, observations of some X-ray transient sources indicate that the original crust has not been completely replaced by accreted material, but is partly composed of the compressed original crust. Aims. The crust of an accreting neutron star beyond the fully accreted crust approximation was studied; a two-part (or hybrid) crust made of the original crust that is compressed and of the accreted material crashing onto it was reconstructed as a function of the accretion stage. The differences in the composition and energy sources for the fully accreted and hybrid crusts influence the cooling and transport properties. Methods. A simple semi-empirical formula of a compressible liquid drop was used to compute the equation of state and composition of the hybrid crust. Calculations were based on the single-nucleus model, with a more accurate treatment of the neutron drip point. We compared the nuclear reactions triggered by compression in the original crust and in the accreted matter part of the hybrid crust. We discuss another crust compression astrophysical phenomenon related to spinning neutron stars. Results. The compression of the originally catalyzed outer crust triggers exothermic reactions (electron captures and pycnonuclear fusions) that deposit heat in the crust. The heat sources are cataloged as a function of the compression until the fully accreted crust approximation is reached. The pressure at which neutron drip occurs is a nonmonotonic function of the depth, leading to a temporary neutron drip anomaly. The additional potential source of energy for partially accreted crusts is the occurrence of a density inversion phenomenon between some compressed layers. Conclusions. The original crust of a neutron star cannot be neglected for the initial period of accretion, when the original crust is not fully replaced by the accreted matter. The amount of heat associated with the compression of the original crust is on the same order of magnitude as that from the sources acting in the accreted part of the hybrid crust.