FOR loop in FMIndex corrected