Fibonacci rewrite