use memoizer to load libraries, no more assertions