document calculation of costs from MAC curves