Add more check for index whether exceed maximum value of fv count.