Optimising production costs of steel trusses