An effective spin model for the finite temperature twisted Eguchi-Kawai model