A partly optimized solution for the alien language problem