memoBy extracted
Give quardatic importance to recency and only linear importance to size in cache
Sugar: Cache result of reinferRoot