inline fib routine in asm and optimize