Bounds-check array access in Polygon#initialize