check in fib.cpp