clean up
memoization
domain improved
offline memo, parallel reworked