Modified the SFFCore to handle index range problem from inut SFF file.