Polyhedra implementation improvement (Contributed by Jan Elias)