Added getOpenPieSegment() to lib