Cost calculation flow chart

[...]