Improve FTA generation