Solved thin elements problem