copy st.h tuning from 2.1 branch