Also, it seems like `flippedPoints` is only used to compute the lower hull, so it would be better to move that to d3_geom_hullLower, resulting in cleaner encapsulation:

```js
var upperHull = d3_geom_hullUpper(points),
    lowerHull = d3_geom_hullLower(points);
```