implemented fast-fibo function