Update blf.c

index when preparing result