More optimizations to FeatureTblWriter