improved performance of GFTT
Merge pull request #2444 from ilya-lavrenov:tapi_gftt