fib with memo