[fib] Improving fib.c