add libfec formula