refining costs