bugfix for hexahedrons (a hexahedron has 8 points, not 6 *facepalm*)