AnalogSegment: Calculate min/max also for small sample sizes