Added support for faces with >4 vertices