Beyond the pseudo-time-dependent approach: chemical models of dense core precursors