no opt heuristic and cost functions