Completed basic cost-model.