function cacflt(ckey, fidi, fidj, fv)

1. finish caculating the LIMITEDTIME
2. add the function cacflt(ckey, fidi, fidj, fv)