Crystal structure optimisation using an auxiliary equation of state.