remove dependency on Stk library and TwoPole effect