Improve Fibonacci algorithm