xh2cg.php: update calculation of exclusive cost