redisigned get inner faces function
rewriting