compilable
reduce max nodes