FIX bugs with constant features + Optimize splitter with constant features