S72972 code to toggle on node expansion optimization