some FEC optimizations

Signed-off-by: jhowes <howes.julian@gmail.com>