The length of the positions array should be irrelevant, here. We are assuming that the geometry is well-defined.