Improving fib.c