minor optimizations in cfb mode