typo in previous commit
Levels 2 and 3 now denote IntraProgram and CrossLibraries
bug fix around closure optimization